/* oscillators.h
 */
#ifndef OSCILLATORS_H_
#define OSCILLATORS_H_

#define f_scaled(X) (X/(float)22000)
#define f_invscale(X) (X*22000)

#define p_scaled(X) (X/2/3.141592)
#define p_invscale(X) (X*2*3.141592)

void sineGenerator(float phase0, float delta, int frequency, float *sample);

void synthesiser_dispatch(float *buf_d, int N, int sidx);

#endif /* OSCILLATORS_H_ */

